<template>
  <div class="wrap">
    <p class="num">订单号：{{$route.query.orderId}}</p>
    <p class="price">￥7889</p>
    <p class="select">请选择支付方式</p>
    <p class="zfb">
      支付宝
      <input type="radio" name="pay" value="0" v-model="zhifu" />
    </p>
    <p class="wx">
      微信
      <input type="radio" name="pay" value="1" v-model="zhifu" />
    </p>

    <div class="btn">
      <button>确定支付</button>
    </div>
  </div>
</template>

<script>
export default {
  data() {
    return {
      zhifu: "0",
    };
  },
  mounted() {

  },
};
</script>

<style scoped>
button {
  width: 100%;
  margin: 0 auto;
  border: none;
  background: skyblue;
  height: 0.8rem;
  line-height: 0.8rem;
  color: white;
  border-radius: 0.4rem;
  position: fixed;
  left: 0;
  bottom: 0.3rem;
}
.wrap {
  font-size: 0.3rem;
  padding: 0.5rem 0.35rem;
}
.wrap .num {
  text-align: center;
  width: 80%;
  margin: 0 auto;
  font-size: 0.35rem;
  margin-bottom: 0.2rem;
}
.wrap .price {
  width: 100%;
  text-align: center;
  font-size: 0.6rem;
  margin-bottom: 0.5rem;
}
.wrap .select,
.zfb,
.wx {
  margin-bottom: 0.3rem;
}
.wx,
.zfb {
  display: flex;
  justify-content: space-between;
}
</style>